package GUI;

import javax.swing.JFrame;

public class MainFrame extends JFrame{
	
	private static final long serialVersionUID = 1L;
	private MenuPanel menuPanel;
	private CongratulationsPanel congratulationsPanel;
	private GameOverPanel gameOverPanel;
	public MenuPanel getMenuPanel() {
		return menuPanel;
	}

	public void setMenuPanel(MenuPanel menuPanel) {
		this.menuPanel = menuPanel;
	}

	public CongratulationsPanel getCongratulationsPanel() {
		return congratulationsPanel;
	}

	public void setCongratulationsPanel(CongratulationsPanel congratulationsPanel) {
		this.congratulationsPanel = congratulationsPanel;
	}

	public GameOverPanel getGameOverPanel() {
		return gameOverPanel;
	}

	public void setGameOverPanel(GameOverPanel gameOverPanel) {
		this.gameOverPanel = gameOverPanel;
	}

	public InvadersPanel getInvadersPanel() {
		return invadersPanel;
	}

	public void setInvadersPanel(InvadersPanel invadersPanel) {
		this.invadersPanel = invadersPanel;
	}

	private InvadersPanel invadersPanel;
	
	public MainFrame() {
		super("Asgard Invaders");
		this.requestFocus();
        this.setSize(800, 600);
        this.setVisible(true);
        this.setDefaultCloseOperation(EXIT_ON_CLOSE);
        this.setLocation(100, 20);
        this.setResizable(false);
        menuPanel = new MenuPanel(this);

        getContentPane().add(menuPanel);

	}
	
	
}
